//
//  LoginManager.h
//  TTFriend
//
//  Created by 李正兵 on 2019/5/6.
//  Copyright © 2019 李正兵. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface LoginManager : NSObject

@property (nonatomic, copy, readonly)NSString * userAccount;

@property (nonatomic, assign, readonly)BOOL islogined;

+ (instancetype)shareManager;

- (void)login:(NSString *)userAccount password:(NSString *)password completion:(void(^)(BOOL sccucss))completion;

- (void)logoutWithCompletion:(void(^)(void))completion;

@end
